package 第一章.Semaphore_acquire_int_permits_release_int_permits;

public class Run {

	public static void main(String[] args) throws InterruptedException {
		Service service = new Service();

		ThreadA[] a = new ThreadA[10];
		for (int i = 0; i < 10; i++) {
			a[i] = new ThreadA(service);
			a[i].start();
		}

	}

}
